<?php

ini_set('memory_limit', '512M');
define('RPT_PATH', dirname(__FILE__) . "/");
define('IMPL', dirname(__FILE__) . "/impl/");
// Turn off all error reporting
error_reporting(0);
include "../../include/functions.inc.php";
include "../../include/excel.class.php";
include "../../include/mysql_excel.inc.php";
include "../../include/tcpdf/config/tcpdf_config.php";
include "../../include/tcpdf/lang/spa.php";
include "../../include/tcpdf/tcpdf.php";
include "../../include/easoftprinter.php";
include "../../include/EaHtml2PdfPrinter.php";
include "../../include/EaExcelPrinter.php";
include "../../include/reportbase.inc.php";
include "impl/RepEstadoCuotas.php";
include "impl/RepCheques.php";
include "impl/RepFacturaDetallada.php";
include "impl/RepFacturaDiaria.php";
include "impl/RepStudCarrera.php";
include "impl/RepStudInactCiclo.php";
include "impl/RepStudCatedratico.php";
include "impl/ModReport.php";

$module = isset($_SESSION["modreports"]) ? unserialize($_SESSION["modreports"]) : new ModReport();
$module->db = $db;
$module->main();
$_SESSION["modreports"] = serialize($module);
?>
